package com.canace.novel.core.constant;

/**
 * @author canace
 * @version 1.0
 * @description AMQP 相关常量
 * @date 2024/2/23 10:15
 */
public class AmqpConsts {

    /**
     * 小说信息改变MQ
     */

    public static class BookChangeMQ {
        /**
         * 小说信息改变交换机
         */
        public static final String EXCHANGE_NAME = "EXCHANGE-BOOK-CHANGE";

        /**
         * Elasticsearch book 索引更新的队列
         */
        public static final String QUEUE_ES_UPDATE = "QUEUE-ES-BOOK-UPDATE";

        /**
         * Redis book 缓存更新的队列
         */
        public static final String QUEUE_REDIS_UPDATE = "QUEUE-REDIS-BOOK-UPDATE";
    }
}
